{% load endless %}
{% paginate 10 list %}
<ul class="list-group">
    {%for item in list%}
    <li class="list-group-item list-group-item-info">
        {%if isUser%}
            <a href="{%url bbsTheme_list item.classId.id %}">{{item.classId}}</a><br/>
        {%endif%}

        {%if item.isHighlight%}
            <span class="glyphicon glyphicon-thumbs-up"></span>
        {%endif%}
        {%if item.isTop%}
            [顶]
        {%endif%}
        {%if item.isLock%}
            [锁]
        {%endif%}
        {%if item.isClose%}
            [结]
        {%endif%}
        {%if item.isBoutique%}
            [精]
        {%endif%}
        {%if item.isVote%}
            [投]
        {%endif%}
        [{{item.themeType}}]<a href="{%url RideLine_show item.id%}">{{item.title}}</a><br>
        {{item.addUser.first_name}}[{{item.addTime|date:"Y-m-d H:i:s"}}]<span class="badge pull-right">{{item.replyCount}}/{{item.visitCount}}</span></li>

    {%endfor%}

</ul>
<div class="pagination pagination-centered">
  <div>{% show_pages %}</div>
</div>